
<div class="timelineBlockWrap followBlock">
	<div class="padding20l">
		<?php if (!$count):?>
			<div class="clearfix">There is no friend!</div>
		<?php else: ?>
		<table class="wide gridFixed">
		<?php
		$even = 1;
		foreach($paging as $item):
		if($even){
			echo '<tr>'; 
		}
		?>
		<td class="vTop hLeft">
			<div class="block">
				<div class="mright26">
					<div class="padding10 borderTopGray borderTop">
						<div class="clearfix">
							<div class="rfloat">
								<?php echo $this->render('user/view/partial/button/addfriend',array('item'=>$item)); ?>
							</div>
							<div class="lfloat mright10">
								<?php echo $item -> toCardhoverPhoto('s100', array(
									'width' => 75,
									'height' => '75'
								));
							?>
							</div>
							<div>
								<div>
									<?php echo $item -> toCardhoverLink(); ?>
								</div>	
								<div>
									<?php echo $item -> gender_id; ?>
								</div>
							</div>
						</div>
					</div>
				</div>
			</div>
		</td>
		<?php
		if (!$even)
		{
			echo '</tr>';
		}
		$even = (++$even % 2);
		endforeach;
		if(!$even){
		echo '</tr>';
		};
		?>
		</table>
		<?php endif; ?>
	</div>
</div>